import React, { Component } from 'react';

//card
class Base extends Component {
    state = {  } 
    render() { 
        return (
            <div className="card" style={{marginTop:'20px'}}>
                    <div className="card-body" style={{margin:'0 auto'}}>
                        <h2>{this.props.children}</h2>
                    </div>
                </div>
        );
    }
}
 
export default Base;